package com.cliave.ttweb.mapper;

import com.cliave.ttweb.bean.DishesCategory;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishCategoryMapper {
    List<DishesCategory> findDishCategoryAll();

    /**
     * 根据菜品分类id删除菜品分类
     * @param id 需要删除的菜品分类id
     * @return 大于0成功，小于等于0失败
     */
    int deleteDishCategory(Integer id);
}
